<template>
  <page-header-wrapper :title="false">
    <a-card
      title="自动入库规则设置"
    >
      <a-tabs type="card" v-model="tab">
        <a-tab-pane key="1" tab="自动入库设置"></a-tab-pane>
        <a-tab-pane key="2" tab="恶意点击预警"></a-tab-pane>
      </a-tabs>
      <setting v-if="tab == 1"></setting>
      <bad-setting v-if="tab == 2"></bad-setting>
      <!--      <all-customer v-if="tab == 2"></all-customer>-->
    </a-card>
  </page-header-wrapper>
</template>

<script>
  import Setting from './components/Setting'
  import BadSetting from '@/views/customer/components/BadSetting'
  export default {
    name: 'AiRobot',
    components: { BadSetting, Setting },
    data () {
      return {
        tab: '1'
      }
    }
  }
</script>

<style scoped>

</style>
